/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package jard.webshop.util;

/**
 *
 * @author cjp
 */
public class Constants {
    public static final String GET_ALL_ORDERS = "getAllOrders";
    public static final String GET_ALL_VISIB_PROD = "getAllProducts";
    public static final String GET_ALL_REMOVED_PROD = "getAllRemovedProducts";
    public static final String GET_ROOT_CATS = "getRootCategories";
    public static final String GET_ALL_PREFS = "getAllPreferences";
    public static final String GET_ALL_RCPTS = "getAllReceipts";
    public static final String GET_ALL_USERS = "getAllUsers";
    public static final String GET_ALL_CATS = "getAllCategories";
    public static final String USER = "user_attr";
    public static final String MSG = "message";
    public static final String HOMEPAGE = "/main.jsf";
    private static String CURRENCY = "SEK";
    private static Integer ADMIN_LEVEL = 4;
    private static Integer EMPLOYEE_LEVEL = 3;
    

    public static void setAdminLevel(Integer level) {
        ADMIN_LEVEL = level;
    }

    public static Integer getAdminLevel() {
        return ADMIN_LEVEL;
    }

    public static Integer getEmployeeLevel() {
        return EMPLOYEE_LEVEL;
    }
    
    public static void setEmployeeLevel(Integer level) {
        EMPLOYEE_LEVEL = level;
    }

    public static String getCurrency() {
        return CURRENCY;
    }

    public static void setCurrency(String currency) {
        CURRENCY = currency;
    }
}
